package com.finger.forest.adapter;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.finger.forest.model.VoiceListModel;

import java.io.Serializable;

/**
 * @author sy
 * @date 2021/3/10
 * @desc
 */
public class ChatMultiItemEntity implements MultiItemEntity, Serializable {
    public static final int TYPE_RECEIVE = 1; //别人发的
    public static final int TYPE_SEND = 2; //我发的

    private VoiceListModel.FileListBean receiveVoiceListModel;
    private VoiceListModel.FileListBean sendVoiceListModel;

    public VoiceListModel.FileListBean getReceiveVoiceListModel() {
        return receiveVoiceListModel;
    }

    public void setReceiveVoiceListModel(VoiceListModel.FileListBean receiveVoiceListModel) {
        this.receiveVoiceListModel = receiveVoiceListModel;
    }

    public VoiceListModel.FileListBean getSendVoiceListModel() {
        return sendVoiceListModel;
    }

    public void setSendVoiceListModel(VoiceListModel.FileListBean sendVoiceListModel) {
        this.sendVoiceListModel = sendVoiceListModel;
    }

    public void setType(int type) {
        this.type = type;
    }

    private int type;

    @Override
    public int getItemType() {
        return type;
    }
}
